Part Number Hot Search : 
15PFI 18600552 DUG13A MAX3864 2N434 AB126V1 TDA2009A IRF8707
Product Description
Full Text Search
 

To Download AN1446 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  AN1446/0801 1/3 AN1446 application note using the st72521 emulator to debug a st72324 target application by microcontroller division applications 1 purpose and scope of this document the st72521 emulator is able to support development of software for the st72324 target mcu because the st72521 and st72324 are essentially compatible. the purpose of this doc- ument is to highlight the differences so you can write software which will run without modifica- tion on both the st72521 emulator and the st72324 target. only functional aspects will be covered. electrical characteristics and flash programming aspects that cannot be tested on the emulator are not covered by this document. due to the fact that the st72521 emulator has been delivered in two versions, this document is divided into 2 sections corresponding to the following emulator versions and st72324 silicon version. table 1. list of emulator and target mcu versions 2 st72521 cut 1.3 versus st72324 cut 1.0 this section describes all the differences between the emulator device and the target device and describes the impact on your software, that is how you need to implement your software so it will run without change in both the emulator and the target chip. 2.1 schmitt triggers description: on the st72521 emulator chip cut 1.3, there is no schmitt trigger hysteresis (vil=vih) on pins which have no alternate function input. impact on software: the schmitt trigger cannot be debugged on this version of the emu- lator. no impact on software. st72521 emulator chip version st72324 chip version 1 cut 1.3 cut 1.0 2 cut 1.6 cut 1.0 1
2/3 using the st72521 emulator to debug a st72324 target application 2.2 spi overrun flag description: on the st72521 emulator chip cut 1.3, some overrun errors cannot be detected during status register clearing phase. this behavior has been solved on the st72324. impact on software: the overrun condition cannot be debugged on this version of the emu- lator. no impact on software. 2.3 ic2 and oc2 on timer a description: in the st72324, the ic2 and oc2 functions are not available on timer a. they are available in the st72521. impact on software: 1. the oc2hr, oc2lr, ic2hr, ic2lr registers must not be accessed (except for the action in item 6 of this list). 2. the folv2 and olvl2 control bits in the cr1 register must be kept cleared. 3. the oc2e and iedg2 control bits in the cr2 register must be kept cleared. 4. the icf2 and ocf2 flag values must not be taken into account by the software (meaningless). 5. timer a pwm mode must not be used: the pwm control bit in the cr2 register must be kept cleared. the generated pwm signal would be different on the st72521 and st72324. 6. a dummy read to the oc2lr and ic2lr registers has to be performed at the end of the timer a inter- rupt routine to discard the oc2 and ic2 interrupts that can occur on the st72521 but not on the st72324. 3 st72521 cut 1.6 versus st72324 cut 1.0 3.1 ic2 and oc2 on timer a description: in the st72324 the ic2 and oc2 functions are not available on timer a. they are available in the st72521. impact on software: 1. the oc2hr, oc2lr, ic2hr, ic2lr registers must not be accessed (except for the action in item 6 of this list). 2. the folv2 and olvl2 control bits in the cr1 register must be kept cleared. 3. the oc2e and iedg2 control bits in the cr2 register must be kept cleared. 4. the icf2 and ocf2 flag values must not be taken into account by the software (meaningless). 5. timer a pwm mode must not be used: the pwm control bit in the cr2 register must be kept cleared. the generated pwm signal would be different on the st72521 and st72324. 6. a dummy read to the oc2lr and ic2lr registers has to be performed at the end of the timer a inter- rupt routine to discard the oc2 and ic2 interrupts that can occur on the st72521 but not on the st72324.
3/3 using the st72521 emulator to debug a st72324 target application "the present note which is for guidance only aims at providing customers with information regarding their products in order for them to save time. as a result, stmicroelectronics shall not be held liable for any direct, indirect or consequential damages with respect to any claims arising from the content of such a note and/or the use made by customers of the information contained herein in connexion with their products." information furnished is believed to be accurate and reliable. however, stmicroelectronics assumes no responsibility for the co nsequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of stmicroelectronics. specifications mentioned in this publicati on are subject to change without notice. this publication supersedes and replaces all information previously supplied. stmicroelectronics prod ucts are not authorized for use as critical components in life support devices or systems without the express written approval of stmicroele ctronics. the st logo is a registered trademark of stmicroelectronics ? 2001 stmicroelectronics - all rights reserved. purchase of i 2 c components by stmicroelectronics conveys a license under the philips i 2 c patent. rights to use these components in an i 2 c system is granted provided that the system conforms to the i 2 c standard specification as defined by philips. stmicroelectronics group of companies australia - brazil - china - finland - france - germany - hong kong - india - italy - japan - malaysia - malta - morocco - sin gapore - spain sweden - switzerland - united kingdom - u.s.a. http://www.st.com


▲Up To Search▲   

 
Price & Availability of AN1446

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X